// Created by Administrator on 2015/12/1.

extends layout
block page-content
    .col-xs-12(style='padding-top:15px;padding-bottom:15px')
        table.table.table-bordered
            thead: tr
                th id
                th 帐号
                th 昵称
                th 性别
                th 电话号码
                th QQ
                th 创建时间
                th 操作
            tbody
                each user in users
                    tr
                        td #{user.id}
                        td: a(href='/user/#{user.nick}' target='_blank') #{user.username}
                        td #{user.nick}
                        td #{user.gender==1?'男':'女'}
                        td #{user.telephone}
                        td #{user.qq}
                        td #{user.createOn?dateformat(user.createOn):''}
                        td: a(href='#') 禁用